package com.hzhc.service;

import com.alibaba.fastjson2.JSONObject;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hzhc.entity.VersionInfo;
import com.hzhc.utils.ResultUtil;
import com.hzhc.vo.VersionInfoVo;
import org.apache.poi.ss.formula.functions.T;

import java.util.List;

/**
 * <p>
 * 更新日志 服务类
 * </p>
 *
 * @author 功不唐捐
 * @since 2024-04-07
 */
public interface VersionInfoService extends IService<VersionInfo> {
    List<VersionInfoVo> getVersionInfoPage(Page<VersionInfoVo> page, VersionInfoVo vo);

    ResultUtil<T> addVersionInfo(VersionInfo vo);

    ResultUtil<T> updateVersionInfo(VersionInfo vo);

    ResultUtil<T> deleteVersionInfo(Long id);

    ResultUtil<List<VersionInfoVo>> getVersionInfo(VersionInfo vo);

    ResultUtil<JSONObject> judgeVersion(String versionNo, String padappAccessPath);
}
